import requests

# 接口层，存放登录方法
class IhrmLoginApi(object):
    @classmethod
    def ihrm_login_api(cls,resq_body):
        resp = requests.post(url="https://ihrm-java.itheima.net/api/sys/login",
                             json=resq_body)
        return resp
